import numpy as np
import time

print("NumPy版本:", np.__version__)

arr = np.array([[1, 2, 3], [4, 5, 6]])

# 数据类型转换
float_arr = arr.astype(np.float64)
print("转换为浮点数:", float_arr.dtype)

complex_arr = float_arr.astype(np.complex128)
print("转换为复数：",complex_arr)
print("复数数组数据类型：",complex_arr.dtype)